import threading
import time
import datetime


char_input = ""
analogue_value = 0.0001

def timer_process_handler():
    print("%s" % datetime.datetime.now().strftime("%Y-%m-%d %H-%M-%S.%f"))
    global analogue_value
    analogue_value += 0.0001
    # print(analogue_value)
    loop_monitor()

def loop_monitor(): 
    timer2 = threading.Timer(1000, timer_process_handler())
    timer2.start()

loop_monitor()